package com.burgeon.backend.SHOPBACKEND.service;


import com.burgeon.backend.SHOPBACKEND.entity.booking.Bactivitie;
import com.burgeon.backend.SHOPBACKEND.entity.booking.BookingStoreData;
import com.burgeon.backend.SHOPBACKEND.service.ex.ErrorDataException;
import com.burgeon.backend.SHOPBACKEND.service.ex.UploadException;
import org.springframework.web.multipart.MultipartFile;

import java.util.HashMap;
import java.util.List;

public interface BackendBookingActivitiesService {


    HashMap findBactiviteRecord(String field, String value, Integer start, String account);


    HashMap getBactiviteRecord(Integer start, String account);

    List<Bactivitie> getBookingListData(String account);

    List<BookingStoreData> getStoreData(String account);

    void addData(String name, String stateTime, String endTime, String[] stores, Integer count,
                 String account, String explain, MultipartFile img)throws ErrorDataException, UploadException;
}
